﻿using System.Drawing;
using System.Windows.Forms;

namespace GDM.Hogar.Controles.ControlesPersonalizados
{
    public partial class CancelButton : Button
    {
        private readonly Font _font;

        public CancelButton()
        {
            InitializeComponent();
            FlatAppearance.BorderSize = 0;
            FlatStyle = FlatStyle.Flat;
            _font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(0)));
        }

        public override Color BackColor
        {
            get
            {
                return Color.FromArgb(93, 106, 106);
            }
            set
            {
                base.BackColor = value;
            }
        }

        public override Font Font
        {
            get
            {
                return _font;
            }
            set
            {
                base.Font = value;
            }
        }

        public override Color ForeColor
        {
            get
            {
                return Color.White;
            }
            set
            {
                base.ForeColor = value;
            }
        }
    }
}